<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkStatusIcon</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 3 参考手册">
<link rel="up" href="DisplayWidgets.html" title="显示构件">
<link rel="prev" href="gtk3-GtkInfoBar.html" title="GtkInfoBar">
<link rel="next" href="gtk3-GtkSpinner.html" title="GtkSpinner">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gtk3-GtkInfoBar.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="DisplayWidgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 3 参考手册</th>
<td><a accesskey="n" href="gtk3-GtkSpinner.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gtk3-GtkStatusIcon.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gtk3-GtkStatusIcon.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gtk3-GtkStatusIcon"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gtk3-GtkStatusIcon.top_of_page"></a>GtkStatusIcon</span></h2>
<p>GtkStatusIcon</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gtk3-GtkStatusIcon.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

struct              <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon">GtkStatusIcon</a>;
<a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="returnvalue">GtkStatusIcon</span></a> *     <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-new" title="gtk_status_icon_new ()">gtk_status_icon_new</a>                 (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="returnvalue">GtkStatusIcon</span></a> *     <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-new-from-pixbuf" title="gtk_status_icon_new_from_pixbuf ()">gtk_status_icon_new_from_pixbuf</a>     (<em class="parameter"><code><a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
<a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="returnvalue">GtkStatusIcon</span></a> *     <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-new-from-file" title="gtk_status_icon_new_from_file ()">gtk_status_icon_new_from_file</a>       (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
<a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="returnvalue">GtkStatusIcon</span></a> *     <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-new-from-stock" title="gtk_status_icon_new_from_stock ()">gtk_status_icon_new_from_stock</a>      (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);
<a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="returnvalue">GtkStatusIcon</span></a> *     <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-new-from-icon-name" title="gtk_status_icon_new_from_icon_name ()">gtk_status_icon_new_from_icon_name</a>  (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>);
<a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="returnvalue">GtkStatusIcon</span></a> *     <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-new-from-gicon" title="gtk_status_icon_new_from_gicon ()">gtk_status_icon_new_from_gicon</a>      (<em class="parameter"><code><a href="../gio/GIcon.html"><span class="type">GIcon</span></a> *icon</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-set-from-pixbuf" title="gtk_status_icon_set_from_pixbuf ()">gtk_status_icon_set_from_pixbuf</a>     (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code><a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-set-from-file" title="gtk_status_icon_set_from_file ()">gtk_status_icon_set_from_file</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-set-from-stock" title="gtk_status_icon_set_from_stock ()">gtk_status_icon_set_from_stock</a>      (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-set-from-icon-name" title="gtk_status_icon_set_from_icon_name ()">gtk_status_icon_set_from_icon_name</a>  (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-set-from-gicon" title="gtk_status_icon_set_from_gicon ()">gtk_status_icon_set_from_gicon</a>      (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code><a href="../gio/GIcon.html"><span class="type">GIcon</span></a> *icon</code></em>);
<a class="link" href="gtk3-GtkImage.html#GtkImageType" title="enum GtkImageType"><span class="returnvalue">GtkImageType</span></a>        <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-storage-type" title="gtk_status_icon_get_storage_type ()">gtk_status_icon_get_storage_type</a>    (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
<a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-pixbuf" title="gtk_status_icon_get_pixbuf ()">gtk_status_icon_get_pixbuf</a>          (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-stock" title="gtk_status_icon_get_stock ()">gtk_status_icon_get_stock</a>           (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-icon-name" title="gtk_status_icon_get_icon_name ()">gtk_status_icon_get_icon_name</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
<a href="../gio/GIcon.html"><span class="returnvalue">GIcon</span></a> *             <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-gicon" title="gtk_status_icon_get_gicon ()">gtk_status_icon_get_gicon</a>           (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-size" title="gtk_status_icon_get_size ()">gtk_status_icon_get_size</a>            (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-set-screen" title="gtk_status_icon_set_screen ()">gtk_status_icon_set_screen</a>          (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);
<a href="../gdk3/GdkScreen.html"><span class="returnvalue">GdkScreen</span></a> *         <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-screen" title="gtk_status_icon_get_screen ()">gtk_status_icon_get_screen</a>          (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-set-tooltip-text" title="gtk_status_icon_set_tooltip_text ()">gtk_status_icon_set_tooltip_text</a>    (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-tooltip-text" title="gtk_status_icon_get_tooltip_text ()">gtk_status_icon_get_tooltip_text</a>    (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-set-tooltip-markup" title="gtk_status_icon_set_tooltip_markup ()">gtk_status_icon_set_tooltip_markup</a>  (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *markup</code></em>);
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-tooltip-markup" title="gtk_status_icon_get_tooltip_markup ()">gtk_status_icon_get_tooltip_markup</a>  (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-set-has-tooltip" title="gtk_status_icon_set_has_tooltip ()">gtk_status_icon_set_has_tooltip</a>     (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_tooltip</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-has-tooltip" title="gtk_status_icon_get_has_tooltip ()">gtk_status_icon_get_has_tooltip</a>     (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-set-title" title="gtk_status_icon_set_title ()">gtk_status_icon_set_title</a>           (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-title" title="gtk_status_icon_get_title ()">gtk_status_icon_get_title</a>           (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-set-name" title="gtk_status_icon_set_name ()">gtk_status_icon_set_name</a>            (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-set-visible" title="gtk_status_icon_set_visible ()">gtk_status_icon_set_visible</a>         (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-visible" title="gtk_status_icon_get_visible ()">gtk_status_icon_get_visible</a>         (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-is-embedded" title="gtk_status_icon_is_embedded ()">gtk_status_icon_is_embedded</a>         (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-position-menu" title="gtk_status_icon_position_menu ()">gtk_status_icon_position_menu</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkMenu.html#GtkMenu" title="struct GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *push_in</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-geometry" title="gtk_status_icon_get_geometry ()">gtk_status_icon_get_geometry</a>        (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> **screen</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> *orientation</code></em>);
<a href="../glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>             <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-x11-window-id" title="gtk_status_icon_get_x11_window_id ()">gtk_status_icon_get_x11_window_id</a>   (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gtk3-GtkStatusIcon.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="gtk3-GtkStatusIcon.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkStatusIcon"></a><h3>struct GtkStatusIcon</h3>
<pre class="programlisting">struct GtkStatusIcon {
  GObject               parent_instance;

  GtkStatusIconPrivate *priv;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-new"></a><h3>gtk_status_icon_new ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="returnvalue">GtkStatusIcon</span></a> *     gtk_status_icon_new                 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates an empty status icon object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-new-from-pixbuf"></a><h3>gtk_status_icon_new_from_pixbuf ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="returnvalue">GtkStatusIcon</span></a> *     gtk_status_icon_new_from_pixbuf     (<em class="parameter"><code><a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
<p>
Creates a status icon displaying <em class="parameter"><code>pixbuf</code></em>. 
</p>
<p>
The image will be scaled down to fit in the available 
space in the notification area, if necessary.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
<td>a <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-new-from-file"></a><h3>gtk_status_icon_new_from_file ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="returnvalue">GtkStatusIcon</span></a> *     gtk_status_icon_new_from_file       (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
<p>
Creates a status icon displaying the file <em class="parameter"><code>filename</code></em>. 
</p>
<p>
The image will be scaled down to fit in the available 
space in the notification area, if necessary.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>a filename. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-new-from-stock"></a><h3>gtk_status_icon_new_from_stock ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="returnvalue">GtkStatusIcon</span></a> *     gtk_status_icon_new_from_stock      (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);</pre>
<p>
Creates a status icon displaying a stock icon. Sample stock icon
names are <a class="link" href="gtk3-Stock-Items.html#GTK-STOCK-OPEN:CAPS" title="GTK_STOCK_OPEN"><span class="type">GTK_STOCK_OPEN</span></a>, <a class="link" href="gtk3-Stock-Items.html#GTK-STOCK-QUIT:CAPS" title="GTK_STOCK_QUIT"><span class="type">GTK_STOCK_QUIT</span></a>. You can register your 
own stock icon names, see <a class="link" href="gtk3-Themeable-Stock-Images.html#gtk-icon-factory-add-default" title="gtk_icon_factory_add_default ()"><code class="function">gtk_icon_factory_add_default()</code></a> and 
<a class="link" href="gtk3-Themeable-Stock-Images.html#gtk-icon-factory-add" title="gtk_icon_factory_add ()"><code class="function">gtk_icon_factory_add()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
<td>a stock icon id</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-new-from-icon-name"></a><h3>gtk_status_icon_new_from_icon_name ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="returnvalue">GtkStatusIcon</span></a> *     gtk_status_icon_new_from_icon_name  (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>);</pre>
<p>
Creates a status icon displaying an icon from the current icon theme.
If the current icon theme is changed, the icon will be updated 
appropriately.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_name</code></em> :</span></p></td>
<td>an icon name</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-new-from-gicon"></a><h3>gtk_status_icon_new_from_gicon ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="returnvalue">GtkStatusIcon</span></a> *     gtk_status_icon_new_from_gicon      (<em class="parameter"><code><a href="../gio/GIcon.html"><span class="type">GIcon</span></a> *icon</code></em>);</pre>
<p>
Creates a status icon displaying a <a href="../gio/GIcon.html"><span class="type">GIcon</span></a>. If the icon is a
themed icon, it will be updated when the theme changes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td>
<td>a <a href="../gio/GIcon.html"><span class="type">GIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-set-from-pixbuf"></a><h3>gtk_status_icon_set_from_pixbuf ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_status_icon_set_from_pixbuf     (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code><a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
<p>
Makes <em class="parameter"><code>status_icon</code></em> display <em class="parameter"><code>pixbuf</code></em>.
See <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-new-from-pixbuf" title="gtk_status_icon_new_from_pixbuf ()"><code class="function">gtk_status_icon_new_from_pixbuf()</code></a> for details.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
<td>a <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-set-from-file"></a><h3>gtk_status_icon_set_from_file ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_status_icon_set_from_file       (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
<p>
Makes <em class="parameter"><code>status_icon</code></em> display the file <em class="parameter"><code>filename</code></em>.
See <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-new-from-file" title="gtk_status_icon_new_from_file ()"><code class="function">gtk_status_icon_new_from_file()</code></a> for details.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>a filename. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-set-from-stock"></a><h3>gtk_status_icon_set_from_stock ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_status_icon_set_from_stock      (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);</pre>
<p>
Makes <em class="parameter"><code>status_icon</code></em> display the stock icon with the id <em class="parameter"><code>stock_id</code></em>.
See <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-new-from-stock" title="gtk_status_icon_new_from_stock ()"><code class="function">gtk_status_icon_new_from_stock()</code></a> for details.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
<td>a stock icon id</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-set-from-icon-name"></a><h3>gtk_status_icon_set_from_icon_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_status_icon_set_from_icon_name  (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>);</pre>
<p>
Makes <em class="parameter"><code>status_icon</code></em> display the icon named <em class="parameter"><code>icon_name</code></em> from the 
current icon theme.
See <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-new-from-icon-name" title="gtk_status_icon_new_from_icon_name ()"><code class="function">gtk_status_icon_new_from_icon_name()</code></a> for details.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_name</code></em> :</span></p></td>
<td>an icon name</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-set-from-gicon"></a><h3>gtk_status_icon_set_from_gicon ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_status_icon_set_from_gicon      (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code><a href="../gio/GIcon.html"><span class="type">GIcon</span></a> *icon</code></em>);</pre>
<p>
Makes <em class="parameter"><code>status_icon</code></em> display the <a href="../gio/GIcon.html"><span class="type">GIcon</span></a>.
See <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-new-from-gicon" title="gtk_status_icon_new_from_gicon ()"><code class="function">gtk_status_icon_new_from_gicon()</code></a> for details.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td>
<td>a GIcon</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-storage-type"></a><h3>gtk_status_icon_get_storage_type ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkImage.html#GtkImageType" title="enum GtkImageType"><span class="returnvalue">GtkImageType</span></a>        gtk_status_icon_get_storage_type    (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
Gets the type of representation being used by the <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
to store image data. If the <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> has no image data,
the return value will be <a class="link" href="gtk3-GtkImage.html#GTK-IMAGE-EMPTY:CAPS"><code class="literal">GTK_IMAGE_EMPTY</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the image representation being used</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-pixbuf"></a><h3>gtk_status_icon_get_pixbuf ()</h3>
<pre class="programlisting"><a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         gtk_status_icon_get_pixbuf          (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
Gets the <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> being displayed by the <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>.
The storage type of the status icon must be <a class="link" href="gtk3-GtkImage.html#GTK-IMAGE-EMPTY:CAPS"><code class="literal">GTK_IMAGE_EMPTY</code></a> or
<a class="link" href="gtk3-GtkImage.html#GTK-IMAGE-PIXBUF:CAPS"><code class="literal">GTK_IMAGE_PIXBUF</code></a> (see <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-storage-type" title="gtk_status_icon_get_storage_type ()"><code class="function">gtk_status_icon_get_storage_type()</code></a>).
The caller of this function does not own a reference to the
returned pixbuf.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the displayed pixbuf,
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the image is empty. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-stock"></a><h3>gtk_status_icon_get_stock ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gtk_status_icon_get_stock           (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
Gets the id of the stock icon being displayed by the <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>.
The storage type of the status icon must be <a class="link" href="gtk3-GtkImage.html#GTK-IMAGE-EMPTY:CAPS"><code class="literal">GTK_IMAGE_EMPTY</code></a> or
<a class="link" href="gtk3-GtkImage.html#GTK-IMAGE-STOCK:CAPS"><code class="literal">GTK_IMAGE_STOCK</code></a> (see <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-storage-type" title="gtk_status_icon_get_storage_type ()"><code class="function">gtk_status_icon_get_storage_type()</code></a>).
The returned string is owned by the <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> and should not
be freed or modified.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>stock id of the displayed stock icon,
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the image is empty.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-icon-name"></a><h3>gtk_status_icon_get_icon_name ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gtk_status_icon_get_icon_name       (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
Gets the name of the icon being displayed by the <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>.
The storage type of the status icon must be <a class="link" href="gtk3-GtkImage.html#GTK-IMAGE-EMPTY:CAPS"><code class="literal">GTK_IMAGE_EMPTY</code></a> or
<a class="link" href="gtk3-GtkImage.html#GTK-IMAGE-ICON-NAME:CAPS"><code class="literal">GTK_IMAGE_ICON_NAME</code></a> (see <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-storage-type" title="gtk_status_icon_get_storage_type ()"><code class="function">gtk_status_icon_get_storage_type()</code></a>).
The returned string is owned by the <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> and should not
be freed or modified.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>name of the displayed icon, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the image is empty.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-gicon"></a><h3>gtk_status_icon_get_gicon ()</h3>
<pre class="programlisting"><a href="../gio/GIcon.html"><span class="returnvalue">GIcon</span></a> *             gtk_status_icon_get_gicon           (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
Retrieves the <a href="../gio/GIcon.html"><span class="type">GIcon</span></a> being displayed by the <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>.
The storage type of the status icon must be <a class="link" href="gtk3-GtkImage.html#GTK-IMAGE-EMPTY:CAPS"><code class="literal">GTK_IMAGE_EMPTY</code></a> or
<a class="link" href="gtk3-GtkImage.html#GTK-IMAGE-GICON:CAPS"><code class="literal">GTK_IMAGE_GICON</code></a> (see <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-get-storage-type" title="gtk_status_icon_get_storage_type ()"><code class="function">gtk_status_icon_get_storage_type()</code></a>).
The caller of this function does not own a reference to the
returned <a href="../gio/GIcon.html"><span class="type">GIcon</span></a>.
</p>
<p>
If this function fails, <em class="parameter"><code>icon</code></em> is left unchanged;
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the displayed icon, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the image is empty. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-size"></a><h3>gtk_status_icon_get_size ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_status_icon_get_size            (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
Gets the size in pixels that is available for the image. 
Stock icons and named icons adapt their size automatically
if the size of the notification area changes. For other
storage types, the size-changed signal can be used to
react to size changes.
</p>
<p>
Note that the returned size is only meaningful while the 
status icon is embedded (see <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-is-embedded" title="gtk_status_icon_is_embedded ()"><code class="function">gtk_status_icon_is_embedded()</code></a>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the size that is available for the image</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-set-screen"></a><h3>gtk_status_icon_set_screen ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_status_icon_set_screen          (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
<p>
Sets the <a href="../gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> where <em class="parameter"><code>status_icon</code></em> is displayed; if
the icon is already mapped, it will be unmapped, and
then remapped on the new screen.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
<td>a <a href="../gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-screen"></a><h3>gtk_status_icon_get_screen ()</h3>
<pre class="programlisting"><a href="../gdk3/GdkScreen.html"><span class="returnvalue">GdkScreen</span></a> *         gtk_status_icon_get_screen          (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
Returns the <a href="../gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> associated with <em class="parameter"><code>status_icon</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="../gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-set-tooltip-text"></a><h3>gtk_status_icon_set_tooltip_text ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_status_icon_set_tooltip_text    (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
<p>
Sets <em class="parameter"><code>text</code></em> as the contents of the tooltip.
</p>
<p>
This function will take care of setting <span class="type">"has-tooltip"</span> to
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> and of the default handler for the <span class="type">"query-tooltip"</span>
signal.
</p>
<p>
See also the <span class="type">"tooltip-text"</span> property and
<a class="link" href="gtk3-GtkTooltip.html#gtk-tooltip-set-text" title="gtk_tooltip_set_text ()"><code class="function">gtk_tooltip_set_text()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>the contents of the tooltip for <em class="parameter"><code>status_icon</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-tooltip-text"></a><h3>gtk_status_icon_get_tooltip_text ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gtk_status_icon_get_tooltip_text    (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
Gets the contents of the tooltip for <em class="parameter"><code>status_icon</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the tooltip text, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. You should free the
returned string with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when done.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-set-tooltip-markup"></a><h3>gtk_status_icon_set_tooltip_markup ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_status_icon_set_tooltip_markup  (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *markup</code></em>);</pre>
<p>
Sets <em class="parameter"><code>markup</code></em> as the contents of the tooltip, which is marked up with
 the <a href="../pango/PangoMarkupFormat.html">Pango text markup language</a>.
</p>
<p>
This function will take care of setting <span class="type">"has-tooltip"</span> to <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
and of the default handler for the <span class="type">"query-tooltip"</span> signal.
</p>
<p>
See also the <span class="type">"tooltip-markup"</span> property and
<a class="link" href="gtk3-GtkTooltip.html#gtk-tooltip-set-markup" title="gtk_tooltip_set_markup ()"><code class="function">gtk_tooltip_set_markup()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>markup</code></em> :</span></p></td>
<td>the contents of the tooltip for <em class="parameter"><code>status_icon</code></em>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-tooltip-markup"></a><h3>gtk_status_icon_get_tooltip_markup ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gtk_status_icon_get_tooltip_markup  (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
Gets the contents of the tooltip for <em class="parameter"><code>status_icon</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the tooltip text, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. You should free the
returned string with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when done.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-set-has-tooltip"></a><h3>gtk_status_icon_set_has_tooltip ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_status_icon_set_has_tooltip     (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_tooltip</code></em>);</pre>
<p>
Sets the has-tooltip property on <em class="parameter"><code>status_icon</code></em> to <em class="parameter"><code>has_tooltip</code></em>.
See <span class="type">"has-tooltip"</span> for more information.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>has_tooltip</code></em> :</span></p></td>
<td>whether or not <em class="parameter"><code>status_icon</code></em> has a tooltip</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-has-tooltip"></a><h3>gtk_status_icon_get_has_tooltip ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_status_icon_get_has_tooltip     (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
Returns the current value of the has-tooltip property.
See <span class="type">"has-tooltip"</span> for more information.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>current value of has-tooltip on <em class="parameter"><code>status_icon</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-set-title"></a><h3>gtk_status_icon_set_title ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_status_icon_set_title           (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
<p>
Sets the title of this tray icon.
This should be a short, human-readable, localized string 
describing the tray icon. It may be used by tools like screen
readers to render the tray icon.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>the title</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.18</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-title"></a><h3>gtk_status_icon_get_title ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gtk_status_icon_get_title           (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
Gets the title of this tray icon. See <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-set-title" title="gtk_status_icon_set_title ()"><code class="function">gtk_status_icon_set_title()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the title of the status icon</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.18</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-set-name"></a><h3>gtk_status_icon_set_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_status_icon_set_name            (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>
Sets the name of this tray icon.
This should be a string identifying this icon. It is may be
used for sorting the icons in the tray and will not be shown to
the user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the name</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-set-visible"></a><h3>gtk_status_icon_set_visible ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_status_icon_set_visible         (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible</code></em>);</pre>
<p>
Shows or hides a status icon.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>visible</code></em> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to show the status icon, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to hide it</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-visible"></a><h3>gtk_status_icon_get_visible ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_status_icon_get_visible         (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
Returns whether the status icon is visible or not. 
Note that being visible does not guarantee that 
the user can actually see the icon, see also 
<a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-is-embedded" title="gtk_status_icon_is_embedded ()"><code class="function">gtk_status_icon_is_embedded()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the status icon is visible</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-is-embedded"></a><h3>gtk_status_icon_is_embedded ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_status_icon_is_embedded         (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
Returns whether the status icon is embedded in a notification
area.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the status icon is embedded in
a notification area.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-position-menu"></a><h3>gtk_status_icon_position_menu ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_status_icon_position_menu       (<em class="parameter"><code><a class="link" href="gtk3-GtkMenu.html#GtkMenu" title="struct GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *push_in</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
Menu positioning function to use with <a class="link" href="gtk3-GtkMenu.html#gtk-menu-popup" title="gtk_menu_popup ()"><code class="function">gtk_menu_popup()</code></a>
to position <em class="parameter"><code>menu</code></em> aligned to the status icon <em class="parameter"><code>user_data</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
<td>the <a class="link" href="gtk3-GtkMenu.html#GtkMenu" title="struct GtkMenu"><span class="type">GtkMenu</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td>return location for the x position. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td>return location for the y position. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>push_in</code></em> :</span></p></td>
<td>whether the first menu item should be offset
(pushed in) to be aligned with the menu popup position
(only useful for GtkOptionMenu). <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>the status icon to position the menu on. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GtkStatusIcon]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-geometry"></a><h3>gtk_status_icon_get_geometry ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_status_icon_get_geometry        (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> **screen</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> *orientation</code></em>);</pre>
<p>
Obtains information about the location of the status icon
on screen. This information can be used to e.g. position 
popups like notification bubbles. 
</p>
<p>
See <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-position-menu" title="gtk_status_icon_position_menu ()"><code class="function">gtk_status_icon_position_menu()</code></a> for a more convenient 
alternative for positioning menus.
</p>
<p>
Note that some platforms do not allow GTK+ to provide 
this information, and even on platforms that do allow it,
the information is not reliable unless the status icon
is embedded in a notification area, see
<a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-is-embedded" title="gtk_status_icon_is_embedded ()"><code class="function">gtk_status_icon_is_embedded()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
<td>return location for
the screen, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the information is not needed. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>area</code></em> :</span></p></td>
<td>return location for the area occupied by
the status icon, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>orientation</code></em> :</span></p></td>
<td>return location for the
orientation of the panel in which the status icon is embedded,
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. A panel at the top or bottom of the screen is
horizontal, a panel at the left or right is vertical. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the location information has
been filled in</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-status-icon-get-x11-window-id"></a><h3>gtk_status_icon_get_x11_window_id ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>             gtk_status_icon_get_x11_window_id   (<em class="parameter"><code><a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a> *status_icon</code></em>);</pre>
<p>
This function is only useful on the X11/freedesktop.org platform.
It returns a window ID for the widget in the underlying
status icon implementation.  This is useful for the Galago 
notification service, which can send a window ID in the protocol 
in order for the server to position notification windows 
pointing to a status icon reliably.
</p>
<p>
This function is not intended for other use cases which are
more likely to be met by one of the non-X11 specific methods, such
as <a class="link" href="gtk3-GtkStatusIcon.html#gtk-status-icon-position-menu" title="gtk_status_icon_position_menu ()"><code class="function">gtk_status_icon_position_menu()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>status_icon</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkStatusIcon.html#GtkStatusIcon" title="struct GtkStatusIcon"><span class="type">GtkStatusIcon</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>An 32 bit unsigned integer identifier for the
underlying X11 Window</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>